package com.xinzhidi.web.netty.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * 写系统信息DTO
 *
 * @author cx
 * @date 2023-06-16
 */
@ApiModel(value = "写系统信息DTO")
@Data
@EqualsAndHashCode(callSuper = false)
public class WriteSystemInformationDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "dtuId")
    @NotNull(message = "dtuId不能为空")
    private Long dtuId;

    @ApiModelProperty(value = "设备地址")
    @NotBlank(message = "设备地址不能为空")
    private String address;

    @ApiModelProperty(value = "工作模式")
    private Integer workModel;

    @ApiModelProperty(value = "单次步进开度")
    private Integer singleStepOpen;

    @ApiModelProperty(value = "调整间隔时间")
    private Integer intervalTime;

    @ApiModelProperty(value = "开阀上限值")
    private Integer openValveUpper ;

    @ApiModelProperty(value = "开阀下限值")
    private Integer openValveLower;

    @ApiModelProperty(value = "回水温度限定值")
    private Integer returnWaterLimit;

    @ApiModelProperty(value = "温差设定值")
    private Integer temperatureSetValue;

    @ApiModelProperty(value = "温度偏离值")
    private Integer temperatureDeviation;

    @ApiModelProperty(value = "温度死区值")
    private Integer temperatureDeadValue;

}
